// /api/auto/login
import { IUserResponse } from '../inteface/user'
import { post } from '../utils/request'

export const onLogin = async () => {
  return post<IUserResponse>('/api/auth/login')
}
